package org.freetek.linkdn.util.model;

import java.io.Serializable;

import org.freetek.linkdn.util.StringUtil;

public class LinkedInAuthResponse implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3362698492027037153L;

	private final String requestToken;
	private final String requestTokenSecret;

	public LinkedInAuthResponse(String requestToken, String requestTokenSecret) {
		assert requestToken != null && !StringUtil.isNullOrEmpty(requestTokenSecret);
		assert requestToken != null && !StringUtil.isNullOrEmpty(requestTokenSecret);
		
		this.requestToken = requestToken;
		this.requestTokenSecret = requestTokenSecret;
	}

	public String getRequestToken() {
		return requestToken;
	}

	public String getRequestTokenSecret() {
		return requestTokenSecret;
	}
}
